package com.weibo4j.api.req.account;

import com.weibo4j.api.WeiboRequest;
import com.weibo4j.api.response.account.SchoolListResponse;
import com.weibo4j.api.util.RequestType;

public class SchoolListRequest extends WeiboRequest<SchoolListResponse>{

	private Integer province;
	
	private Integer city;
	
	private Integer area;
	
	private Integer type;
	
	private String capital;
	
	private String keyword;
	
	private Integer count;
	

	public Integer getProvince() {
		return province;
	}

	public void setProvince(Integer province) {
		this.province = province;
	}

	public Integer getCity() {
		return city;
	}

	public void setCity(Integer city) {
		this.city = city;
	}

	public Integer getArea() {
		return area;
	}

	public void setArea(Integer area) {
		this.area = area;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getCapital() {
		return capital;
	}

	public void setCapital(String capital) {
		this.capital = capital;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	@Override
	public RequestType requestType() {
		return RequestType.GET;
	}

	@Override
	public String baseUrl() {
		return "https://api.weibo.com/2/account/profile/school_list.json";
	}

	@Override
	protected Class<SchoolListResponse> responseType() {
		return SchoolListResponse.class;
	}

}
